<?php

use Core\API_Controller;
use Models\Config;

class ConfigController extends API_Controller
{
    public function get_for_login()
    {
        $logo = (new Config)->get_by_label('logo地址');
        $video = (new Config)->get_by_label('video地址');

        return $this->success(compact('logo', 'video'));
    }
}
